﻿@model List<SIG.DAL.Dapper.Model.Product>
    <div class="title">
    <h3 class="text-center">推荐样品案例</h3>
</div>
<div class="productList">
    <div class="container-fluid">
        @if (Model.Any())
            {
            <div class="row">
                @foreach (var item in Model)
                {

                    <div class="col-xs-4">
                        <div class="item">
                            <div class="thumb">
                                <a href="@Url.Action("Detail",new { id = item.Id})">
                                    <img src="@item.Thumbnail" alt="@item.ProductNo" />
                                </a>
                            </div>
                            <h3>
                                <a href="@Url.Action("Detail",new { id = item.Id})">
                                    @item.ProductName @item.ProductNo
                                </a>
                            </h3>

                        </div>
                    </div>
                }
            </div>
        }
        else
        {
            <div class="alert alert-info">
                <i class="iconfont icon-info"></i> 没有任何记录！
            </div>
        }

    </div>
</div>

